package com.mz.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.mz.entity.AddressInfo;

@Repository
public interface AddressMapper {
	public List<AddressInfo> selectAddress();
	public void insertAddress(AddressInfo addressInfo);
	public void deleteAddress(Long id);
	public void updateAddress(AddressInfo addressInfo);
	public List<AddressInfo> selectAddressLikePage(Map<String,Object> map);
	public Integer selectAddressLikeCount(Map<String,Object> map);
	public AddressInfo selectAddressById(Long id);
	public AddressInfo selectAddressByAddress(String str);
}
